package load;

public class Hot extends PatentHot {
    public static final int test = 1;
    public static int t2;

    public Hot() {
        System.out.println("construct");
        t2 = 2;
        System.out.println("construct t2 == " + t2);
    }

    static {
        System.out.println("静态初始化块执行了！");
        System.out.println("静态初始化 t2 == " + t2);
    }

    public static void load() {
        System.out.println("load");
        System.out.println("load t2 == " + t2);
    }

    @Override
    public void test() {
//        super.test();
        System.out.println("load");
    }
}
